<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">

    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Third_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-third_id" data-rule="required" data-source="third/index" class="form-control selectpage form-control" name="row[third_id]" type="text" value="{$row.third_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Waybill_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-waybill_id" data-rule="required" data-source="waybill/index" class="form-control selectpage form-control" name="row[waybill_id]" type="text" value="{$row.waybill_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Qrcode')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-qrcode" class="form-control form-control" name="row[qrcode]" type="text" value="{$row.qrcode}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('User_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-user_id" data-rule="required" data-source="user/user/index" data-field="nickname" class="form-control selectpage form-control" name="row[user_id]" type="text" value="{$row.user_id}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consignee')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consignee" class="form-control form-control" name="row[consignee]" type="text" value="{$row.consignee}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consignee_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consignee_address" class="form-control form-control" name="row[consignee_address]" type="text" value="{$row.consignee_address}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consignee_mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consignee_mobile" class="form-control form-control" name="row[consignee_mobile]" type="text" value="{$row.consignee_mobile}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consignee_node')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consignee_node" class="form-control form-control" name="row[consignee_node]" type="text" value="{$row.consignee_node}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consignor')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consignor" class="form-control form-control" name="row[consignor]" type="text" value="{$row.consignor}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consignor_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consignor_address" class="form-control form-control" name="row[consignor_address]" type="text" value="{$row.consignor_address}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consignor_node')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consignor_node" class="form-control form-control" name="row[consignor_node]" type="text" value="{$row.consignor_node}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consignor_mobile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consignor_mobile" class="form-control form-control" name="row[consignor_mobile]" type="text" value="{$row.consignor_mobile}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consignor_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-consignor_time" class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[consignor_time]" type="text" value="{$row.consignor_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Package_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-package_time" class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[package_time]" type="text" value="{$row.package_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Last_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-last_time" class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[last_time]" type="text" value="{$row.last_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Status')}:</label>
        <div class="col-xs-12 col-sm-8">
            
            <div class="radio">
            {foreach name="statusList" item="vo"}
            <label for="row[status]-{$key}"><input id="row[status]-{$key}" name="row[status]" type="radio" value="{$key}" {in name="key" value="$row.status"}checked{/in} /> {$vo}</label> 
            {/foreach}
            </div>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Consignee_confirm')}:</label>
        <div class="col-xs-12 col-sm-8">
                        
            <select  id="c-consignee_confirm" class="form-control selectpicker" name="row[consignee_confirm]">
                {foreach name="consigneeConfirmList" item="vo"}
                    <option value="{$key}" {in name="key" value="$row.consignee_confirm"}selected{/in}>{$vo}</option>
                {/foreach}
            </select>

        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Confirm_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-confirm_time" class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[confirm_time]" type="text" value="{$row.confirm_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Confirm_info')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-confirm_info" class="form-control form-control" name="row[confirm_info]" type="text" value="{$row.confirm_info}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fare')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fare" class="form-control form-control" step="0.01" name="row[fare]" type="number" value="{$row.fare}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Payment_status')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-payment_status" class="form-control form-control" name="row[payment_status]" type="text" value="{$row.payment_status}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Payment_method')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-payment_method" class="form-control form-control" name="row[payment_method]" type="text" value="{$row.payment_method}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Payment_time')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-payment_time" class="form-control datetimepicker form-control" data-date-format="YYYY-MM-DD HH:mm:ss" data-use-current="true" name="row[payment_time]" type="text" value="{$row.payment_time}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Payment_return_num')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-payment_return_num" class="form-control form-control" name="row[payment_return_num]" type="text" value="{$row.payment_return_num}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Payment_return_code')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-payment_return_code" class="form-control form-control" name="row[payment_return_code]" type="text" value="{$row.payment_return_code}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Amount')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-amount" class="form-control form-control" name="row[amount]" type="number" value="{$row.amount}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Weight')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-weight" class="form-control form-control" step="0.01" name="row[weight]" type="number" value="{$row.weight}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Cubage')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-cubage" class="form-control form-control" step="0.01" name="row[cubage]" type="number" value="{$row.cubage}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Fragile')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-fragile" class="form-control form-control" name="row[fragile]" type="text" value="{$row.fragile}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Remark')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-remark" class="form-control form-control" name="row[remark]" type="text" value="{$row.remark}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
